home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / C / WinStat.h < prev   
Encoding:
C/C++ Source or Header  |  1997-02-13  |  28.5 KB  |  805 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: WinStat.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Classes defined in this interface
  13.  * 
  14.  */
  15.  
  16.  
  17. #ifndef SOM_ODWindowState_h
  18. #define SOM_ODWindowState_h
  19.  
  20.  
  21. #include <som.h>
  22.  
  23. /*
  24.  * -- This emitter treats Method Tokens as Thunks by default.
  25.  * -- Use the sc modifier "nothunks" to change this default
  26.  */
  27. #undef somresolve_
  28. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  29.  
  30. /*
  31.  * Define the class name as an object type
  32.  */
  33. #ifndef ODWindowState
  34. #define ODWindowState SOMObject
  35. #endif
  36. #include <ODObject.h>
  37.  
  38. /*
  39.  * Start of user-defined types:
  40.  */
  41. #ifndef SOMClass
  42.     #define SOMClass SOMObject
  43. #endif /* SOMClass */
  44. #ifndef SOMObject
  45.     #define SOMObject SOMObject
  46. #endif /* SOMObject */
  47. #ifndef ODFrame
  48.     #define ODFrame SOMObject
  49. #endif /* ODFrame */
  50. #ifndef ODFacet
  51.     #define ODFacet SOMObject
  52. #endif /* ODFacet */
  53. #ifndef ODObject
  54.     #define ODObject SOMObject
  55. #endif /* ODObject */
  56. #ifndef ODExtension
  57.     #define ODExtension SOMObject
  58. #endif /* ODExtension */
  59. #ifndef ODWindowState
  60.     #define ODWindowState SOMObject
  61. #endif /* ODWindowState */
  62. #ifndef ODCanvas
  63.     #define ODCanvas SOMObject
  64. #endif /* ODCanvas */
  65. #ifndef ODDraft
  66.     #define ODDraft SOMObject
  67. #endif /* ODDraft */
  68. #ifndef ODMenuBar
  69.     #define ODMenuBar SOMObject
  70. #endif /* ODMenuBar */
  71. #ifndef ODPart
  72.     #define ODPart SOMObject
  73. #endif /* ODPart */
  74. #ifndef ODShape
  75.     #define ODShape SOMObject
  76. #endif /* ODShape */
  77. #ifndef ODTransform
  78.     #define ODTransform SOMObject
  79. #endif /* ODTransform */
  80. #ifndef ODWindow
  81.     #define ODWindow SOMObject
  82. #endif /* ODWindow */
  83. #ifndef ODWindowIterator
  84.     #define ODWindowIterator SOMObject
  85. #endif /* ODWindowIterator */
  86. #ifndef ODWindowModule
  87.     #define ODWindowModule SOMObject
  88. #endif /* ODWindowModule */
  89.  
  90. /*
  91.  * End of user-defined types.
  92.  */
  93.  
  94. #define ODWindowState_MajorVersion 1
  95. #define ODWindowState_MinorVersion 1
  96.  
  97. /*
  98.  * External name shortening if required
  99.  */
  100. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  101. #define ODWindowStateClassData d
  102. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  103. /*--------------Migration------------*/
  104.  
  105. #ifdef OLDIBMSOMAPISUPPORT
  106. #define ODWindowState_classObj somNewClassReference(ODWindowState)
  107. #define _ODWindowState ODWindowState_classObj
  108. #define ODWindowStateCClassData ODWindowStateClassData
  109. #define ODWindowStateNewClass(major,minor) somNewVersionedClassReference(ODWindowState,major,minor)
  110. #endif
  111.  
  112. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  113. #define ODWindowStateMetaClass SOMClass
  114.  
  115. #if PRAGMA_ALIGN_SUPPORTED
  116. #  pragma options align=power
  117. #endif
  118.  
  119. /*
  120.  * Declare the class data structure
  121.  */
  122. SOMEXTERN struct ODWindowStateClassDataStructure {
  123. #ifdef OLDIBMSOMAPISUPPORT
  124.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  125. #else
  126.     long zero;
  127. #endif
  128.     somStaticClassInfo *sci;
  129.     somDToken        instanceDataToken;
  130.     long reserved [3];
  131.     somMToken RegisterWindow;
  132.     somMToken RegisterWindowForFrame;
  133.     somMToken AcquireWindow;
  134.     somMToken Internalize;
  135.     somMToken Externalize;
  136.     somMToken SetDefaultWindowTitles;
  137.     somMToken OpenWindows;
  138.     somMToken CloseWindows;
  139.     somMToken GetWindowCount;
  140.     somMToken GetRootWindowCount;
  141.     somMToken GetTotalRootWindowCount;
  142.     somMToken IsODWindow;
  143.     somMToken AcquireODWindow;
  144.     somMToken CreateWindowIterator;
  145.     somMToken AcquireActiveWindow;
  146.     somMToken SetBaseMenuBar;
  147.     somMToken CopyBaseMenuBar;
  148.     somMToken AdjustPartMenus;
  149.     somMToken CreateMenuBar;
  150.     somMToken CreateCanvas;
  151.     somMToken CreateFacet;
  152.     somMToken AcquireCurrentMenuBar;
  153.     somMToken AcquireBaseMenuBar;
  154.     somMToken DeactivateFrontWindows;
  155.     somMToken ActivateFrontWindows;
  156.     somMToken AcquireFrontWindow;
  157.     somMToken AcquireFrontFloatingWindow;
  158.     somMToken AcquireFrontRootWindow;
  159.     somMToken reserved1;
  160.     somMToken reserved2;
  161.     somMToken reserved3;
  162.     somMToken reserved4;
  163.     somMToken reserved5;
  164.     somMToken reserved6;
  165.     somMToken reserved7;
  166.     somMToken reserved8;
  167.     somMToken reserved9;
  168.     somMToken reserved10;
  169.     somMToken reserved11;
  170.     somMToken reserved12;
  171.     somMToken reserved13;
  172.     somMToken reserved14;
  173.     somMToken reserved15;
  174.     somMToken reserved16;
  175.     somMToken reserved17;
  176.     somMToken reserved18;
  177.     somMToken reserved19;
  178.     somMToken reserved20;
  179.     somMToken reserved21;
  180.     somMToken reserved22;
  181.     somMToken reserved23;
  182.     somMToken reserved24;
  183.     somMToken SetWindowModule;
  184. } SOMDLINK ODWindowStateClassData;
  185.  
  186. #if PRAGMA_ALIGN_SUPPORTED
  187. #  pragma options align=reset
  188. #endif
  189.  
  190. #if !defined(ODWindowState_Class_Source) && !defined(SOM_Module_winstat_Source)
  191. #if PRAGMA_IMPORT_SUPPORTED
  192. #pragma import list ODWindowStateClassData
  193. #endif
  194. #endif
  195.  
  196.  
  197. /*
  198.  * New macro for ODWindowState
  199.  */
  200. #define ODWindowStateNew() somNewObject(ODWindowState)
  201.  
  202. /*
  203.  * Override method: somUninit
  204.  */
  205. #define ODWindowState_somUninit(somSelf) \
  206.     SOMObject_somUninit(somSelf)
  207.  
  208. /*
  209.  * Override method: Purge
  210.  */
  211. #define ODWindowState_Purge(somSelf,ev,size) \
  212.     ODObject_Purge(somSelf,ev,size)
  213.  
  214. /*
  215.  * New Method: RegisterWindow
  216.  */
  217. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_RegisterWindow)(ODWindowState *somSelf, Environment *ev,
  218.         ODPlatformWindow newWindow,
  219.         ODType frameType,
  220.         ODBoolean isRootWindow,
  221.         ODBoolean isResizable,
  222.         ODBoolean isFloating,
  223.         ODBoolean shouldSave,
  224.         ODBoolean shouldDispose,
  225.         ODPart* rootPart,
  226.         ODTypeToken viewType,
  227.         ODTypeToken presentation,
  228.         ODFrame* sourceFrame);
  229. #define somMD_ODWindowState_RegisterWindow "::ODWindowState::RegisterWindow"
  230. #define ODWindowState_RegisterWindow(somSelf,ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame) \
  231.     (SOM_Resolve(somSelf, ODWindowState, RegisterWindow) \
  232.     (somSelf,ev,newWindow,frameType,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,rootPart,viewType,presentation,sourceFrame))
  233. #ifndef SOMGD_RegisterWindow
  234.     #if (defined(_RegisterWindow) || defined(__RegisterWindow))
  235.         #undef _RegisterWindow
  236.         #undef __RegisterWindow
  237.         #define SOMGD_RegisterWindow 1
  238.     #else
  239.         #define _RegisterWindow ODWindowState_RegisterWindow
  240.     #endif /* _RegisterWindow */
  241. #endif /* SOMGD_RegisterWindow */
  242.  
  243. /*
  244.  * New Method: RegisterWindowForFrame
  245.  */
  246. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_RegisterWindowForFrame)(ODWindowState *somSelf, Environment *ev,
  247.         ODPlatformWindow newWindow,
  248.         ODFrame* frame,
  249.         ODBoolean isRootWindow,
  250.         ODBoolean isResizable,
  251.         ODBoolean isFloating,
  252.         ODBoolean shouldSave,
  253.         ODBoolean shouldDispose,
  254.         ODFrame* sourceFrame);
  255. #define somMD_ODWindowState_RegisterWindowForFrame "::ODWindowState::RegisterWindowForFrame"
  256. #define ODWindowState_RegisterWindowForFrame(somSelf,ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame) \
  257.     (SOM_Resolve(somSelf, ODWindowState, RegisterWindowForFrame) \
  258.     (somSelf,ev,newWindow,frame,isRootWindow,isResizable,isFloating,shouldSave,shouldDispose,sourceFrame))
  259. #ifndef SOMGD_RegisterWindowForFrame
  260.     #if (defined(_RegisterWindowForFrame) || defined(__RegisterWindowForFrame))
  261.         #undef _RegisterWindowForFrame
  262.         #undef __RegisterWindowForFrame
  263.         #define SOMGD_RegisterWindowForFrame 1
  264.     #else
  265.         #define _RegisterWindowForFrame ODWindowState_RegisterWindowForFrame
  266.     #endif /* _RegisterWindowForFrame */
  267. #endif /* SOMGD_RegisterWindowForFrame */
  268.  
  269. /*
  270.  * New Method: AcquireWindow
  271.  */
  272. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireWindow)(ODWindowState *somSelf, Environment *ev,
  273.         ODID id);
  274. #define somMD_ODWindowState_AcquireWindow "::ODWindowState::AcquireWindow"
  275. #define ODWindowState_AcquireWindow(somSelf,ev,id) \
  276.     (SOM_Resolve(somSelf, ODWindowState, AcquireWindow) \
  277.     (somSelf,ev,id))
  278. #ifndef SOMGD_AcquireWindow
  279.     #if (defined(_AcquireWindow) || defined(__AcquireWindow))
  280.         #undef _AcquireWindow
  281.         #undef __AcquireWindow
  282.         #define SOMGD_AcquireWindow 1
  283.     #else
  284.         #define _AcquireWindow ODWindowState_AcquireWindow
  285.     #endif /* _AcquireWindow */
  286. #endif /* SOMGD_AcquireWindow */
  287.  
  288. /*
  289.  * New Method: Internalize
  290.  */
  291. typedef void   (SOMLINK *somTD_ODWindowState_Internalize)(ODWindowState *somSelf, Environment *ev,
  292.         ODDraft* draft);
  293. #define somMD_ODWindowState_Internalize "::ODWindowState::Internalize"
  294. #define ODWindowState_Internalize(somSelf,ev,draft) \
  295.     (SOM_Resolve(somSelf, ODWindowState, Internalize) \
  296.     (somSelf,ev,draft))
  297. #ifndef SOMGD_Internalize
  298.     #if (defined(_Internalize) || defined(__Internalize))
  299.         #undef _Internalize
  300.         #undef __Internalize
  301.         #define SOMGD_Internalize 1
  302.     #else
  303.         #define _Internalize ODWindowState_Internalize
  304.     #endif /* _Internalize */
  305. #endif /* SOMGD_Internalize */
  306.  
  307. /*
  308.  * New Method: Externalize
  309.  */
  310. typedef void   (SOMLINK *somTD_ODWindowState_Externalize)(ODWindowState *somSelf, Environment *ev,
  311.         ODDraft* draft);
  312. #define somMD_ODWindowState_Externalize "::ODWindowState::Externalize"
  313. #define ODWindowState_Externalize(somSelf,ev,draft) \
  314.     (SOM_Resolve(somSelf, ODWindowState, Externalize) \
  315.     (somSelf,ev,draft))
  316. #ifndef SOMGD_Externalize
  317.     #if (defined(_Externalize) || defined(__Externalize))
  318.         #undef _Externalize
  319.         #undef __Externalize
  320.         #define SOMGD_Externalize 1
  321.     #else
  322.         #define _Externalize ODWindowState_Externalize
  323.     #endif /* _Externalize */
  324. #endif /* SOMGD_Externalize */
  325.  
  326. /*
  327.  * New Method: SetDefaultWindowTitles
  328.  */
  329. typedef void   (SOMLINK *somTD_ODWindowState_SetDefaultWindowTitles)(ODWindowState *somSelf, Environment *ev,
  330.         ODDraft* draft);
  331. #define somMD_ODWindowState_SetDefaultWindowTitles "::ODWindowState::SetDefaultWindowTitles"
  332. #define ODWindowState_SetDefaultWindowTitles(somSelf,ev,draft) \
  333.     (SOM_Resolve(somSelf, ODWindowState, SetDefaultWindowTitles) \
  334.     (somSelf,ev,draft))
  335. #ifndef SOMGD_SetDefaultWindowTitles
  336.     #if (defined(_SetDefaultWindowTitles) || defined(__SetDefaultWindowTitles))
  337.         #undef _SetDefaultWindowTitles
  338.         #undef __SetDefaultWindowTitles
  339.         #define SOMGD_SetDefaultWindowTitles 1
  340.     #else
  341.         #define _SetDefaultWindowTitles ODWindowState_SetDefaultWindowTitles
  342.     #endif /* _SetDefaultWindowTitles */
  343. #endif /* SOMGD_SetDefaultWindowTitles */
  344.  
  345. /*
  346.  * New Method: OpenWindows
  347.  */
  348. typedef void   (SOMLINK *somTD_ODWindowState_OpenWindows)(ODWindowState *somSelf, Environment *ev,
  349.         ODDraft* draft);
  350. #define somMD_ODWindowState_OpenWindows "::ODWindowState::OpenWindows"
  351. #define ODWindowState_OpenWindows(somSelf,ev,draft) \
  352.     (SOM_Resolve(somSelf, ODWindowState, OpenWindows) \
  353.     (somSelf,ev,draft))
  354. #ifndef SOMGD_OpenWindows
  355.     #if (defined(_OpenWindows) || defined(__OpenWindows))
  356.         #undef _OpenWindows
  357.         #undef __OpenWindows
  358.         #define SOMGD_OpenWindows 1
  359.     #else
  360.         #define _OpenWindows ODWindowState_OpenWindows
  361.     #endif /* _OpenWindows */
  362. #endif /* SOMGD_OpenWindows */
  363.  
  364. /*
  365.  * New Method: CloseWindows
  366.  */
  367. typedef void   (SOMLINK *somTD_ODWindowState_CloseWindows)(ODWindowState *somSelf, Environment *ev,
  368.         ODDraft* draft);
  369. #define somMD_ODWindowState_CloseWindows "::ODWindowState::CloseWindows"
  370. #define ODWindowState_CloseWindows(somSelf,ev,draft) \
  371.     (SOM_Resolve(somSelf, ODWindowState, CloseWindows) \
  372.     (somSelf,ev,draft))
  373. #ifndef SOMGD_CloseWindows
  374.     #if (defined(_CloseWindows) || defined(__CloseWindows))
  375.         #undef _CloseWindows
  376.         #undef __CloseWindows
  377.         #define SOMGD_CloseWindows 1
  378.     #else
  379.         #define _CloseWindows ODWindowState_CloseWindows
  380.     #endif /* _CloseWindows */
  381. #endif /* SOMGD_CloseWindows */
  382.  
  383. /*
  384.  * New Method: GetWindowCount
  385.  */
  386. typedef ODUShort   (SOMLINK *somTD_ODWindowState_GetWindowCount)(ODWindowState *somSelf, Environment *ev);
  387. #define somMD_ODWindowState_GetWindowCount "::ODWindowState::GetWindowCount"
  388. #define ODWindowState_GetWindowCount(somSelf,ev) \
  389.     (SOM_Resolve(somSelf, ODWindowState, GetWindowCount) \
  390.     (somSelf,ev))
  391. #ifndef SOMGD_GetWindowCount
  392.     #if (defined(_GetWindowCount) || defined(__GetWindowCount))
  393.         #undef _GetWindowCount
  394.         #undef __GetWindowCount
  395.         #define SOMGD_GetWindowCount 1
  396.     #else
  397.         #define _GetWindowCount ODWindowState_GetWindowCount
  398.     #endif /* _GetWindowCount */
  399. #endif /* SOMGD_GetWindowCount */
  400.  
  401. /*
  402.  * New Method: GetRootWindowCount
  403.  */
  404. typedef ODUShort   (SOMLINK *somTD_ODWindowState_GetRootWindowCount)(ODWindowState *somSelf, Environment *ev,
  405.         ODDraft* draft);
  406. #define somMD_ODWindowState_GetRootWindowCount "::ODWindowState::GetRootWindowCount"
  407. #define ODWindowState_GetRootWindowCount(somSelf,ev,draft) \
  408.     (SOM_Resolve(somSelf, ODWindowState, GetRootWindowCount) \
  409.     (somSelf,ev,draft))
  410. #ifndef SOMGD_GetRootWindowCount
  411.     #if (defined(_GetRootWindowCount) || defined(__GetRootWindowCount))
  412.         #undef _GetRootWindowCount
  413.         #undef __GetRootWindowCount
  414.         #define SOMGD_GetRootWindowCount 1
  415.     #else
  416.         #define _GetRootWindowCount ODWindowState_GetRootWindowCount
  417.     #endif /* _GetRootWindowCount */
  418. #endif /* SOMGD_GetRootWindowCount */
  419.  
  420. /*
  421.  * New Method: GetTotalRootWindowCount
  422.  */
  423. typedef ODUShort   (SOMLINK *somTD_ODWindowState_GetTotalRootWindowCount)(ODWindowState *somSelf, Environment *ev);
  424. #define somMD_ODWindowState_GetTotalRootWindowCount "::ODWindowState::GetTotalRootWindowCount"
  425. #define ODWindowState_GetTotalRootWindowCount(somSelf,ev) \
  426.     (SOM_Resolve(somSelf, ODWindowState, GetTotalRootWindowCount) \
  427.     (somSelf,ev))
  428. #ifndef SOMGD_GetTotalRootWindowCount
  429.     #if (defined(_GetTotalRootWindowCount) || defined(__GetTotalRootWindowCount))
  430.         #undef _GetTotalRootWindowCount
  431.         #undef __GetTotalRootWindowCount
  432.         #define SOMGD_GetTotalRootWindowCount 1
  433.     #else
  434.         #define _GetTotalRootWindowCount ODWindowState_GetTotalRootWindowCount
  435.     #endif /* _GetTotalRootWindowCount */
  436. #endif /* SOMGD_GetTotalRootWindowCount */
  437.  
  438. /*
  439.  * New Method: IsODWindow
  440.  */
  441. typedef ODBoolean   (SOMLINK *somTD_ODWindowState_IsODWindow)(ODWindowState *somSelf, Environment *ev,
  442.         ODPlatformWindow aWindow);
  443. #define somMD_ODWindowState_IsODWindow "::ODWindowState::IsODWindow"
  444. #define ODWindowState_IsODWindow(somSelf,ev,aWindow) \
  445.     (SOM_Resolve(somSelf, ODWindowState, IsODWindow) \
  446.     (somSelf,ev,aWindow))
  447. #ifndef SOMGD_IsODWindow
  448.     #if (defined(_IsODWindow) || defined(__IsODWindow))
  449.         #undef _IsODWindow
  450.         #undef __IsODWindow
  451.         #define SOMGD_IsODWindow 1
  452.     #else
  453.         #define _IsODWindow ODWindowState_IsODWindow
  454.     #endif /* _IsODWindow */
  455. #endif /* SOMGD_IsODWindow */
  456.  
  457. /*
  458.  * New Method: AcquireODWindow
  459.  */
  460. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireODWindow)(ODWindowState *somSelf, Environment *ev,
  461.         ODPlatformWindow aWindow);
  462. #define somMD_ODWindowState_AcquireODWindow "::ODWindowState::AcquireODWindow"
  463. #define ODWindowState_AcquireODWindow(somSelf,ev,aWindow) \
  464.     (SOM_Resolve(somSelf, ODWindowState, AcquireODWindow) \
  465.     (somSelf,ev,aWindow))
  466. #ifndef SOMGD_AcquireODWindow
  467.     #if (defined(_AcquireODWindow) || defined(__AcquireODWindow))
  468.         #undef _AcquireODWindow
  469.         #undef __AcquireODWindow
  470.         #define SOMGD_AcquireODWindow 1
  471.     #else
  472.         #define _AcquireODWindow ODWindowState_AcquireODWindow
  473.     #endif /* _AcquireODWindow */
  474. #endif /* SOMGD_AcquireODWindow */
  475.  
  476. /*
  477.  * New Method: CreateWindowIterator
  478.  */
  479. typedef ODWindowIterator*   (SOMLINK *somTD_ODWindowState_CreateWindowIterator)(ODWindowState *somSelf, Environment *ev);
  480. #define somMD_ODWindowState_CreateWindowIterator "::ODWindowState::CreateWindowIterator"
  481. #define ODWindowState_CreateWindowIterator(somSelf,ev) \
  482.     (SOM_Resolve(somSelf, ODWindowState, CreateWindowIterator) \
  483.     (somSelf,ev))
  484. #ifndef SOMGD_CreateWindowIterator
  485.     #if (defined(_CreateWindowIterator) || defined(__CreateWindowIterator))
  486.         #undef _CreateWindowIterator
  487.         #undef __CreateWindowIterator
  488.         #define SOMGD_CreateWindowIterator 1
  489.     #else
  490.         #define _CreateWindowIterator ODWindowState_CreateWindowIterator
  491.     #endif /* _CreateWindowIterator */
  492. #endif /* SOMGD_CreateWindowIterator */
  493.  
  494. /*
  495.  * New Method: AcquireActiveWindow
  496.  */
  497. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireActiveWindow)(ODWindowState *somSelf, Environment *ev);
  498. #define somMD_ODWindowState_AcquireActiveWindow "::ODWindowState::AcquireActiveWindow"
  499. #define ODWindowState_AcquireActiveWindow(somSelf,ev) \
  500.     (SOM_Resolve(somSelf, ODWindowState, AcquireActiveWindow) \
  501.     (somSelf,ev))
  502. #ifndef SOMGD_AcquireActiveWindow
  503.     #if (defined(_AcquireActiveWindow) || defined(__AcquireActiveWindow))
  504.         #undef _AcquireActiveWindow
  505.         #undef __AcquireActiveWindow
  506.         #define SOMGD_AcquireActiveWindow 1
  507.     #else
  508.         #define _AcquireActiveWindow ODWindowState_AcquireActiveWindow
  509.     #endif /* _AcquireActiveWindow */
  510. #endif /* SOMGD_AcquireActiveWindow */
  511.  
  512. /*
  513.  * New Method: SetBaseMenuBar
  514.  */
  515. typedef void   (SOMLINK *somTD_ODWindowState_SetBaseMenuBar)(ODWindowState *somSelf, Environment *ev,
  516.         ODMenuBar* theMenuBar);
  517. #define somMD_ODWindowState_SetBaseMenuBar "::ODWindowState::SetBaseMenuBar"
  518. #define ODWindowState_SetBaseMenuBar(somSelf,ev,theMenuBar) \
  519.     (SOM_Resolve(somSelf, ODWindowState, SetBaseMenuBar) \
  520.     (somSelf,ev,theMenuBar))
  521. #ifndef SOMGD_SetBaseMenuBar
  522.     #if (defined(_SetBaseMenuBar) || defined(__SetBaseMenuBar))
  523.         #undef _SetBaseMenuBar
  524.         #undef __SetBaseMenuBar
  525.         #define SOMGD_SetBaseMenuBar 1
  526.     #else
  527.         #define _SetBaseMenuBar ODWindowState_SetBaseMenuBar
  528.     #endif /* _SetBaseMenuBar */
  529. #endif /* SOMGD_SetBaseMenuBar */
  530.  
  531. /*
  532.  * New Method: CopyBaseMenuBar
  533.  */
  534. typedef ODMenuBar*   (SOMLINK *somTD_ODWindowState_CopyBaseMenuBar)(ODWindowState *somSelf, Environment *ev);
  535. #define somMD_ODWindowState_CopyBaseMenuBar "::ODWindowState::CopyBaseMenuBar"
  536. #define ODWindowState_CopyBaseMenuBar(somSelf,ev) \
  537.     (SOM_Resolve(somSelf, ODWindowState, CopyBaseMenuBar) \
  538.     (somSelf,ev))
  539. #ifndef SOMGD_CopyBaseMenuBar
  540.     #if (defined(_CopyBaseMenuBar) || defined(__CopyBaseMenuBar))
  541.         #undef _CopyBaseMenuBar
  542.         #undef __CopyBaseMenuBar
  543.         #define SOMGD_CopyBaseMenuBar 1
  544.     #else
  545.         #define _CopyBaseMenuBar ODWindowState_CopyBaseMenuBar
  546.     #endif /* _CopyBaseMenuBar */
  547. #endif /* SOMGD_CopyBaseMenuBar */
  548.  
  549. /*
  550.  * New Method: AdjustPartMenus
  551.  */
  552. typedef void   (SOMLINK *somTD_ODWindowState_AdjustPartMenus)(ODWindowState *somSelf, Environment *ev);
  553. #define somMD_ODWindowState_AdjustPartMenus "::ODWindowState::AdjustPartMenus"
  554. #define ODWindowState_AdjustPartMenus(somSelf,ev) \
  555.     (SOM_Resolve(somSelf, ODWindowState, AdjustPartMenus) \
  556.     (somSelf,ev))
  557. #ifndef SOMGD_AdjustPartMenus
  558.     #if (defined(_AdjustPartMenus) || defined(__AdjustPartMenus))
  559.         #undef _AdjustPartMenus
  560.         #undef __AdjustPartMenus
  561.         #define SOMGD_AdjustPartMenus 1
  562.     #else
  563.         #define _AdjustPartMenus ODWindowState_AdjustPartMenus
  564.     #endif /* _AdjustPartMenus */
  565. #endif /* SOMGD_AdjustPartMenus */
  566.  
  567. /*
  568.  * New Method: CreateMenuBar
  569.  */
  570. typedef ODMenuBar*   (SOMLINK *somTD_ODWindowState_CreateMenuBar)(ODWindowState *somSelf, Environment *ev,
  571.         ODPlatformMenuBar menuBar);
  572. #define somMD_ODWindowState_CreateMenuBar "::ODWindowState::CreateMenuBar"
  573. #define ODWindowState_CreateMenuBar(somSelf,ev,menuBar) \
  574.     (SOM_Resolve(somSelf, ODWindowState, CreateMenuBar) \
  575.     (somSelf,ev,menuBar))
  576. #ifndef SOMGD_CreateMenuBar
  577.     #if (defined(_CreateMenuBar) || defined(__CreateMenuBar))
  578.         #undef _CreateMenuBar
  579.         #undef __CreateMenuBar
  580.         #define SOMGD_CreateMenuBar 1
  581.     #else
  582.         #define _CreateMenuBar ODWindowState_CreateMenuBar
  583.     #endif /* _CreateMenuBar */
  584. #endif /* SOMGD_CreateMenuBar */
  585.  
  586. /*
  587.  * New Method: CreateCanvas
  588.  */
  589. typedef ODCanvas*   (SOMLINK *somTD_ODWindowState_CreateCanvas)(ODWindowState *somSelf, Environment *ev,
  590.         ODGraphicsSystem graphicsSystem,
  591.         ODPlatformCanvas platformCanvas,
  592.         ODBoolean isDynamic,
  593.         ODBoolean isOffscreen);
  594. #define somMD_ODWindowState_CreateCanvas "::ODWindowState::CreateCanvas"
  595. #define ODWindowState_CreateCanvas(somSelf,ev,graphicsSystem,platformCanvas,isDynamic,isOffscreen) \
  596.     (SOM_Resolve(somSelf, ODWindowState, CreateCanvas) \
  597.     (somSelf,ev,graphicsSystem,platformCanvas,isDynamic,isOffscreen))
  598. #ifndef SOMGD_CreateCanvas
  599.     #if (defined(_CreateCanvas) || defined(__CreateCanvas))
  600.         #undef _CreateCanvas
  601.         #undef __CreateCanvas
  602.         #define SOMGD_CreateCanvas 1
  603.     #else
  604.         #define _CreateCanvas ODWindowState_CreateCanvas
  605.     #endif /* _CreateCanvas */
  606. #endif /* SOMGD_CreateCanvas */
  607.  
  608. /*
  609.  * New Method: CreateFacet
  610.  */
  611. typedef ODFacet*   (SOMLINK *somTD_ODWindowState_CreateFacet)(ODWindowState *somSelf, Environment *ev,
  612.         ODFrame* frame,
  613.         ODShape* clipShape,
  614.         ODTransform* externalTransform,
  615.         ODCanvas* canvas,
  616.         ODCanvas* biasCanvas);
  617. #define somMD_ODWindowState_CreateFacet "::ODWindowState::CreateFacet"
  618. #define ODWindowState_CreateFacet(somSelf,ev,frame,clipShape,externalTransform,canvas,biasCanvas) \
  619.     (SOM_Resolve(somSelf, ODWindowState, CreateFacet) \
  620.     (somSelf,ev,frame,clipShape,externalTransform,canvas,biasCanvas))
  621. #ifndef SOMGD_CreateFacet
  622.     #if (defined(_CreateFacet) || defined(__CreateFacet))
  623.         #undef _CreateFacet
  624.         #undef __CreateFacet
  625.         #define SOMGD_CreateFacet 1
  626.     #else
  627.         #define _CreateFacet ODWindowState_CreateFacet
  628.     #endif /* _CreateFacet */
  629. #endif /* SOMGD_CreateFacet */
  630.  
  631. /*
  632.  * New Method: AcquireCurrentMenuBar
  633.  */
  634. typedef ODMenuBar*   (SOMLINK *somTD_ODWindowState_AcquireCurrentMenuBar)(ODWindowState *somSelf, Environment *ev);
  635. #define somMD_ODWindowState_AcquireCurrentMenuBar "::ODWindowState::AcquireCurrentMenuBar"
  636. #define ODWindowState_AcquireCurrentMenuBar(somSelf,ev) \
  637.     (SOM_Resolve(somSelf, ODWindowState, AcquireCurrentMenuBar) \
  638.     (somSelf,ev))
  639. #ifndef SOMGD_AcquireCurrentMenuBar
  640.     #if (defined(_AcquireCurrentMenuBar) || defined(__AcquireCurrentMenuBar))
  641.         #undef _AcquireCurrentMenuBar
  642.         #undef __AcquireCurrentMenuBar
  643.         #define SOMGD_AcquireCurrentMenuBar 1
  644.     #else
  645.         #define _AcquireCurrentMenuBar ODWindowState_AcquireCurrentMenuBar
  646.     #endif /* _AcquireCurrentMenuBar */
  647. #endif /* SOMGD_AcquireCurrentMenuBar */
  648.  
  649. /*
  650.  * New Method: AcquireBaseMenuBar
  651.  */
  652. typedef ODMenuBar*   (SOMLINK *somTD_ODWindowState_AcquireBaseMenuBar)(ODWindowState *somSelf, Environment *ev);
  653. #define somMD_ODWindowState_AcquireBaseMenuBar "::ODWindowState::AcquireBaseMenuBar"
  654. #define ODWindowState_AcquireBaseMenuBar(somSelf,ev) \
  655.     (SOM_Resolve(somSelf, ODWindowState, AcquireBaseMenuBar) \
  656.     (somSelf,ev))
  657. #ifndef SOMGD_AcquireBaseMenuBar
  658.     #if (defined(_AcquireBaseMenuBar) || defined(__AcquireBaseMenuBar))
  659.         #undef _AcquireBaseMenuBar
  660.         #undef __AcquireBaseMenuBar
  661.         #define SOMGD_AcquireBaseMenuBar 1
  662.     #else
  663.         #define _AcquireBaseMenuBar ODWindowState_AcquireBaseMenuBar
  664.     #endif /* _AcquireBaseMenuBar */
  665. #endif /* SOMGD_AcquireBaseMenuBar */
  666.  
  667. /*
  668.  * New Method: DeactivateFrontWindows
  669.  */
  670. typedef void   (SOMLINK *somTD_ODWindowState_DeactivateFrontWindows)(ODWindowState *somSelf, Environment *ev);
  671. #define somMD_ODWindowState_DeactivateFrontWindows "::ODWindowState::DeactivateFrontWindows"
  672. #define ODWindowState_DeactivateFrontWindows(somSelf,ev) \
  673.     (SOM_Resolve(somSelf, ODWindowState, DeactivateFrontWindows) \
  674.     (somSelf,ev))
  675. #ifndef SOMGD_DeactivateFrontWindows
  676.     #if (defined(_DeactivateFrontWindows) || defined(__DeactivateFrontWindows))
  677.         #undef _DeactivateFrontWindows
  678.         #undef __DeactivateFrontWindows
  679.         #define SOMGD_DeactivateFrontWindows 1
  680.     #else
  681.         #define _DeactivateFrontWindows ODWindowState_DeactivateFrontWindows
  682.     #endif /* _DeactivateFrontWindows */
  683. #endif /* SOMGD_DeactivateFrontWindows */
  684.  
  685. /*
  686.  * New Method: ActivateFrontWindows
  687.  */
  688. typedef void   (SOMLINK *somTD_ODWindowState_ActivateFrontWindows)(ODWindowState *somSelf, Environment *ev);
  689. #define somMD_ODWindowState_ActivateFrontWindows "::ODWindowState::ActivateFrontWindows"
  690. #define ODWindowState_ActivateFrontWindows(somSelf,ev) \
  691.     (SOM_Resolve(somSelf, ODWindowState, ActivateFrontWindows) \
  692.     (somSelf,ev))
  693. #ifndef SOMGD_ActivateFrontWindows
  694.     #if (defined(_ActivateFrontWindows) || defined(__ActivateFrontWindows))
  695.         #undef _ActivateFrontWindows
  696.         #undef __ActivateFrontWindows
  697.         #define SOMGD_ActivateFrontWindows 1
  698.     #else
  699.         #define _ActivateFrontWindows ODWindowState_ActivateFrontWindows
  700.     #endif /* _ActivateFrontWindows */
  701. #endif /* SOMGD_ActivateFrontWindows */
  702.  
  703. /*
  704.  * New Method: AcquireFrontWindow
  705.  */
  706. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireFrontWindow)(ODWindowState *somSelf, Environment *ev);
  707. #define somMD_ODWindowState_AcquireFrontWindow "::ODWindowState::AcquireFrontWindow"
  708. #define ODWindowState_AcquireFrontWindow(somSelf,ev) \
  709.     (SOM_Resolve(somSelf, ODWindowState, AcquireFrontWindow) \
  710.     (somSelf,ev))
  711. #ifndef SOMGD_AcquireFrontWindow
  712.     #if (defined(_AcquireFrontWindow) || defined(__AcquireFrontWindow))
  713.         #undef _AcquireFrontWindow
  714.         #undef __AcquireFrontWindow
  715.         #define SOMGD_AcquireFrontWindow 1
  716.     #else
  717.         #define _AcquireFrontWindow ODWindowState_AcquireFrontWindow
  718.     #endif /* _AcquireFrontWindow */
  719. #endif /* SOMGD_AcquireFrontWindow */
  720.  
  721. /*
  722.  * New Method: AcquireFrontFloatingWindow
  723.  */
  724. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireFrontFloatingWindow)(ODWindowState *somSelf, Environment *ev);
  725. #define somMD_ODWindowState_AcquireFrontFloatingWindow "::ODWindowState::AcquireFrontFloatingWindow"
  726. #define ODWindowState_AcquireFrontFloatingWindow(somSelf,ev) \
  727.     (SOM_Resolve(somSelf, ODWindowState, AcquireFrontFloatingWindow) \
  728.     (somSelf,ev))
  729. #ifndef SOMGD_AcquireFrontFloatingWindow
  730.     #if (defined(_AcquireFrontFloatingWindow) || defined(__AcquireFrontFloatingWindow))
  731.         #undef _AcquireFrontFloatingWindow
  732.         #undef __AcquireFrontFloatingWindow
  733.         #define SOMGD_AcquireFrontFloatingWindow 1
  734.     #else
  735.         #define _AcquireFrontFloatingWindow ODWindowState_AcquireFrontFloatingWindow
  736.     #endif /* _AcquireFrontFloatingWindow */
  737. #endif /* SOMGD_AcquireFrontFloatingWindow */
  738.  
  739. /*
  740.  * New Method: AcquireFrontRootWindow
  741.  */
  742. typedef ODWindow*   (SOMLINK *somTD_ODWindowState_AcquireFrontRootWindow)(ODWindowState *somSelf, Environment *ev);
  743. #define somMD_ODWindowState_AcquireFrontRootWindow "::ODWindowState::AcquireFrontRootWindow"
  744. #define ODWindowState_AcquireFrontRootWindow(somSelf,ev) \
  745.     (SOM_Resolve(somSelf, ODWindowState, AcquireFrontRootWindow) \
  746.     (somSelf,ev))
  747. #ifndef SOMGD_AcquireFrontRootWindow
  748.     #if (defined(_AcquireFrontRootWindow) || defined(__AcquireFrontRootWindow))
  749.         #undef _AcquireFrontRootWindow
  750.         #undef __AcquireFrontRootWindow
  751.         #define SOMGD_AcquireFrontRootWindow 1
  752.     #else
  753.         #define _AcquireFrontRootWindow ODWindowState_AcquireFrontRootWindow
  754.     #endif /* _AcquireFrontRootWindow */
  755. #endif /* SOMGD_AcquireFrontRootWindow */
  756.  
  757. /*
  758.  * New Method: SetWindowModule
  759.  */
  760. typedef void   (SOMLINK *somTD_ODWindowState_SetWindowModule)(ODWindowState *somSelf, Environment *ev,
  761.         ODWindowModule* windowModule);
  762. #define somMD_ODWindowState_SetWindowModule "::ODWindowState::SetWindowModule"
  763. #define ODWindowState_SetWindowModule(somSelf,ev,windowModule) \
  764.     (SOM_Resolve(somSelf, ODWindowState, SetWindowModule) \
  765.     (somSelf,ev,windowModule))
  766. #ifndef SOMGD_SetWindowModule
  767.     #if (defined(_SetWindowModule) || defined(__SetWindowModule))
  768.         #undef _SetWindowModule
  769.         #undef __SetWindowModule
  770.         #define SOMGD_SetWindowModule 1
  771.     #else
  772.         #define _SetWindowModule ODWindowState_SetWindowModule
  773.     #endif /* _SetWindowModule */
  774. #endif /* SOMGD_SetWindowModule */
  775. #ifndef SOM_DONT_USE_INHERITED_MACROS
  776. #define ODWindowState_InitObject ODObject_InitObject
  777. #define ODWindowState_HasExtension ODObject_HasExtension
  778. #define ODWindowState_AcquireExtension ODObject_AcquireExtension
  779. #define ODWindowState_ReleaseExtension ODObject_ReleaseExtension
  780. #define ODWindowState_IsEqualTo ODObject_IsEqualTo
  781. #define ODWindowState_SubClassResponsibility ODObject_SubClassResponsibility
  782. #define ODWindowState_somInit SOMObject_somInit
  783. #define ODWindowState_somInit SOMObject_somInit
  784. #define ODWindowState_somDuplicateReference SOMObject_somDuplicateReference
  785. #define ODWindowState_somCompareReference SOMObject_somCompareReference
  786. #define ODWindowState_somRelease SOMObject_somRelease
  787. #define ODWindowState_somFree SOMObject_somFree
  788. #define ODWindowState_somCanDelete SOMObject_somCanDelete
  789. #define ODWindowState_somGetClass SOMObject_somGetClass
  790. #define ODWindowState_somGetClassName SOMObject_somGetClassName
  791. #define ODWindowState_somGetSize SOMObject_somGetSize
  792. #define ODWindowState_somIsA SOMObject_somIsA
  793. #define ODWindowState_somRespondsTo SOMObject_somRespondsTo
  794. #define ODWindowState_somIsInstanceOf SOMObject_somIsInstanceOf
  795. #define ODWindowState_somDispatch SOMObject_somDispatch
  796. #define ODWindowState_somClassDispatch SOMObject_somClassDispatch
  797. #define ODWindowState_somCastObj SOMObject_somCastObj
  798. #define ODWindowState_somResetObj SOMObject_somResetObj
  799. #define ODWindowState_somPrintSelf SOMObject_somPrintSelf
  800. #define ODWindowState_somDumpSelf SOMObject_somDumpSelf
  801. #define ODWindowState_somDumpSelfInt SOMObject_somDumpSelfInt
  802. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  803.  
  804. #endif       /* SOM_ODWindowState_h */
  805.